package ch5;

public class TestEnum {
	public enum MyColor {red, green, blue};
	//public enum RSDF {me, lady};
	
	public static void main(String[] args) {
		
		MyColor m = MyColor.red;
		switch(m) {
		
		case red:
			System.out.println("Color Red");
			break;
		case green:
			System.out.println("Color Green");
			break;
		default:
			System.out.println("Default Color");
		}
		
	}
}
